package com.ssm.entity;

public class ClassRoom {
    private Integer cId;

    private String cName;

    private Integer cCount;

    private String cAddress;

    //班级和老师的多对多关系
    private Teacher teacher;

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName == null ? null : cName.trim();
    }

    public Integer getcCount() {
        return cCount;
    }

    public void setcCount(Integer cCount) {
        this.cCount = cCount;
    }

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress == null ? null : cAddress.trim();
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "ClassRoom{" +
                "cId=" + cId +
                ", cName='" + cName + '\'' +
                ", cCount=" + cCount +
                ", cAddress='" + cAddress + '\'' +
                ", teacher=" + teacher +
                '}';
    }
}